package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统用户额外的代理(店铺)配置对象 extra_agent
 * 
 * @author hly
 * @date 2024-01-16
 */
public class ExtraAgent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 系统用户ID */
    @Excel(name = "系统用户ID")
    private Long sysUserId;

    /** 代理id */
    @Excel(name = "代理id")
    private Long extraAgentId;

    /** 代理名 */
    @Excel(name = "代理名")
    private String extraAgentName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSysUserId(Long sysUserId) 
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId() 
    {
        return sysUserId;
    }
    public void setExtraAgentId(Long extraAgentId) 
    {
        this.extraAgentId = extraAgentId;
    }

    public Long getExtraAgentId() 
    {
        return extraAgentId;
    }
    public void setExtraAgentName(String extraAgentName) 
    {
        this.extraAgentName = extraAgentName;
    }

    public String getExtraAgentName() 
    {
        return extraAgentName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sysUserId", getSysUserId())
            .append("extraAgentId", getExtraAgentId())
            .append("extraAgentName", getExtraAgentName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
